<?php
require_once 'FacebookSync.php';

$facebooksync = new FacebookSync();
$facebooksync->getSession();
$facebooksync->getAlbums();
$file='C:\\bhoomika-chawla11.jpg'; //Example image file
$photo = array(
    		'message'=> 'Bhoomica',
    		'image' => '@' . realpath($file)
		);
		
$albumId="10150109518805902";
$facebooksync->uploadPhoto($albumId, $photo);
//$facebooksync->destroySession();
?>